package com.bonana.core.dao.utils;

import com.bonana.core.entity.utils.City;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CityDAO {
    List<City> queryByParentId(@Param("parentId")int parentId);
    List<Integer> queryIdByName(@Param("name") String name);
    String queryNameById(@Param("id") int id);
    City queryCityById(@Param("id") int id);
}
